<?php
class Game_getActivityByGame {
	function getActivityByGame($game) {
		$activityeffect = MooConfig::get('activityeffect.' . $game);
		
		if(!activityeffect) {
			return "";
		}
		
		$ids = array();
		$names = array();
		foreach ($activityeffect as $id => $name) {
			$ids[] = $id;
			$names[] = $name;
		}
		
		$res['activityId'] 		= $ids;
		$res['activityName'] 	= $names;
		
		return $res;
	}
}